package com.xiaoluo.lottery.common.weixin.hb.beans;

import com.xiaoluo.lottery.common.weixin.base.BaseRes;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;

/**
 * Project : lottery
 * Package : main.java.com.xiaoluo.lottery.common.weixin.pay.enums
 * Created by Willian.
 * Date  : 2016/4/6 14:38.
 */
@Root(name = "xml")
public class HbInfoRes extends BaseRes {


    @Element(name = "mch_billno",required = false)       private String  mchBillno;//商户订单号	   是	10000098201411111234567890	String(28)	商户使用查询API填写的商户单号的原路返回
    @Element(name = "detail_id",required = false)        private String  detailId;//红包单号	   是	1000000000201503283103439304	String(32)	使用API发放现金红包时返回的红包单号
    @Element(name = "status",required = false)           private String  status;//红包状态	   是	RECEIVED	string(16)	SENDING:发放中    SENT:已发放待领取    FAILED：发放失败    RECEIVED:已领取    REFUND:已退款
    @Element(name = "send_type",required = false)        private String  sendType;//发放类型	   是	API	String(32)	API:通过API接口发放    UPLOAD:通过上传文件方式发放    ACTIVITY:通过活动方式发放
    @Element(name = "hb_type",required = false)          private String  hbType;//红包类型	   是	GROUP	String(32)	GROUP:裂变红包    NORMAL:普通红包
    @Element(name = "total_num",required = false)        private String  totalNum;//红包个数	   是	1	int	红包个数
    @Element(name = "total_amount",required = false)     private String  totalAmount;//红包金额	   是	5000	int	红包总金额（单位分）
    @Element(name = "reason",required = false)           private String  reason;//失败原因	   否	余额不足	String(32)	发送失败原因
    @Element(name = "send_time",required = false)        private String  sendTime;//红包发送时间	    是	2015-04-21 20:00:00	String(32)
    @Element(name = "refund_time",required = false)      private String  refundTime;//红包退款时间	    否	2015-04-21 23:03:00	String(32)	红包的退款时间（如果其未领取的退款）
    @Element(name = "refund_amount",required = false)    private String  refundAmount;//红包退款金额	    否	8000	Int	红包退款金额
    @Element(name = "wishing",required = false)          private String  wishing;//祝福语	  否	新年快乐	String(128)	祝福语
    @Element(name = "remark",required = false)           private String  remark;//活动描述	   否	新年红包	String(256)	活动描述，低版本微信可见
    @Element(name = "act_name",required = false)         private String  actName;//活动名称	   否	新年红包	String(32)	发红包的活动名称
    @Element(name = "hblist",required = false)           private String  hblist;//裂变红包领取列表	  否	内容如下表	 	裂变红包的领取列表
    @Element(name = "hbinfo",required = false)           private HbinfoDetailRes  detail;//红包detail
    @Element(name = "openid",required = false)           private String  openid;//领取红包的Openid	   是	ohO4GtzOAAYMp2yapORH3dQB3W18	String(32)	领取红包的openid
    @Element(name = "amount",required = false)           private String  amount;//金额	 是	100	int	领取金额
    @Element(name = "rcv_time",required = false)         private String  rcvTime;//接收时间	   是	2015-04-21 20:00:00	String(32)	领取红包的时间


    public HbinfoDetailRes getDetail() {
        return detail;
    }

    public void setDetail(HbinfoDetailRes detail) {
        this.detail = detail;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getMchBillno() {
        return mchBillno;
    }

    public void setMchBillno(String mchBillno) {
        this.mchBillno = mchBillno;
    }

    public String getDetailId() {
        return detailId;
    }

    public void setDetailId(String detailId) {
        this.detailId = detailId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getSendType() {
        return sendType;
    }

    public void setSendType(String sendType) {
        this.sendType = sendType;
    }

    public String getHbType() {
        return hbType;
    }

    public void setHbType(String hbType) {
        this.hbType = hbType;
    }

    public String getTotalNum() {
        return totalNum;
    }

    public void setTotalNum(String totalNum) {
        this.totalNum = totalNum;
    }

    public String getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(String totalAmount) {
        this.totalAmount = totalAmount;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getSendTime() {
        return sendTime;
    }

    public void setSendTime(String sendTime) {
        this.sendTime = sendTime;
    }

    public String getRefundTime() {
        return refundTime;
    }

    public void setRefundTime(String refundTime) {
        this.refundTime = refundTime;
    }

    public String getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(String refundAmount) {
        this.refundAmount = refundAmount;
    }

    public String getWishing() {
        return wishing;
    }

    public void setWishing(String wishing) {
        this.wishing = wishing;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getActName() {
        return actName;
    }

    public void setActName(String actName) {
        this.actName = actName;
    }

    public String getHblist() {
        return hblist;
    }

    public void setHblist(String hblist) {
        this.hblist = hblist;
    }



    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getRcvTime() {
        return rcvTime;
    }

    public void setRcvTime(String rcvTime) {
        this.rcvTime = rcvTime;
    }
}
